export default {
  condition : '',
  dialog : false,
  selectedOptions: [],//渠道的配置
  lord :[],
  total : 0,
  btnState : '',//新增编辑按钮
  rowVal : [],//表格一行的Val
  fileList : [],
  startPageId : '',
  options: [{label:'是',value : 'Y'},{label:'否',value:'N'}],//是否上架
  list : {
    thead : [
      {label:'跳转地址',prop:"pageJumpUrl",rowspan:1},
      {label:'排序',prop:"ordinal",rowspan:1},
      {label:'是否上架',prop:"isOnline",rowspan:1},
      {label:'创建时间',prop:"gmtCreate",rowspan:1},
      {label:'更新时间',prop:"gmtUpdate",rowspan:1},
    ],
    tbody : []
  },
  // typeList :[{value: '',label: '请选择'},{value: '0',label: '是'},{value: '1',label: '否'}],
  type : '',
  pageData : {
    lorid : '',//主渠道id
    sonid : '',//子渠道id
    loading : false,//列表的加载状态
    value : '',//是否上架
    remark : '',//备注
    ordinal : '',//排序
    pageJumpUrl:'',//跳转地址
    pageImgUrl : '',//图片地址
    bannerId :'',//
  },
  defaults : {//渠道配置的val
    children: 'childChannelList',
    label: 'channelName',
    value : 'channelCode'
  },
  typeList :[{value: '',label: '请选择'},{value: 'Y',label: '是'},{value: 'N',label: '否'}],
  rules : {
    selectedOptions: [
          { required: false, message: '请输入名称', trigger: 'blur' },
        ],
    value: [
          { required: true, message: '请输入内容', trigger: 'blur' },
        ],
    pageJumpUrl : [
          { required: true, message: '请输入内容', trigger: 'blur' },
        ],
     ordinal : [{ required: true, message: '请输入内容', trigger: 'blur' }],
     // imgUrl : [{ required: true, message: '请输入内容', trigger: 'blur' }],
  },
}
